Skip to content

pup: enable OAuth for DDSQL editor commands - #756

Draft
srosenthal-dd wants to merge 1 commit into
DataDog:mainfrom
srosenthal-dd:stephen.rosenthal/oauth-ddsql-editor
Draft

pup: enable OAuth for DDSQL editor commands#756
srosenthal-dd wants to merge 1 commit into
DataDog:mainfrom
srosenthal-dd:stephen.rosenthal/oauth-ddsql-editor

Conversation

@srosenthal-dd

@srosenthal-dd srosenthal-dd commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

Remove 3 dsql-editor tool endpoints from OAUTH_EXCLUDED_ENDPOINTS so raw_get/raw_post send the OAuth bearer token for ddsql::spec, ddsql::schema_tables, and ddsql::schema_columns commands.

Server-side dependency

Depends on dd-source#66615 which adds ValidOAuthAccessToken to the 3 ddsql-editor routes. Do not merge until that PR is merged.

Changes

  • src/raw_client.rs: Removed 3 dsql-editor entries from OAUTH_EXCLUDED_ENDPOINTS (46 -> 43), updated count test, removed obsolete ddsql-editor test

Remove 3 dsql-editor tool endpoints from OAUTH_EXCLUDED_ENDPOINTS
so raw_get/raw_post send the OAuth bearer token for ddsql::spec,
ddsql::schema_tables, and ddsql::schema_columns commands.

Depends on server-side PR: dd-source#66615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant